package com.emapp.lccode.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;


/**
 */
public class WeiXinPay implements Serializable {

    private static final long serialVersionUID = 1L;

    private String appid="123"; //公众账号ID
    private String partnerid="123"; //商户号
    private String prepayid="123"; //预支付交易会话ID
    @SerializedName("package")
    private String ppackage="123";
    private String noncestr="123"; //随机字符串
    private String timestamp="123"; //时间戳
    private String sign="123"; //签名
    WeiXinPay data;
//    public WeiXinPay(String reason, int error_code) {
//        super(reason, error_code);
//    }


    public WeiXinPay getData() {
        return data;
    }

    @Override
    public String toString() {
        return "WeiXinPay{" +
                "appid='" + appid + '\'' +
                ", partnerid='" + partnerid + '\'' +
                ", prepayid='" + prepayid + '\'' +
                ", ppackage='" + ppackage + '\'' +
                ", noncestr='" + noncestr + '\'' +
                ", timestamp='" + timestamp + '\'' +
                ", sign='" + sign + '\'' +
                '}';
    }

    public String getAppid() {
        return appid;
    }

    public String getNoncestr() {
        return noncestr;
    }

    public String getPartnerid() {
        return partnerid;
    }

    public String getPpackage() {
        return ppackage;
    }

    public String getPrepayid() {
        return prepayid;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getSign() {
        return sign;
    }

    public String getTimestamp() {
        return timestamp;
    }
}
